home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / content / nsIXTFXMLVisual.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  2KB  |  94 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIXTFXMLVisual.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIXTFXMLVisual_h__
  6. #define __gen_nsIXTFXMLVisual_h__
  7.  
  8.  
  9. #ifndef __gen_nsIXTFVisual_h__
  10. #include "nsIXTFVisual.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIXTFXMLVisualWrapper; /* forward declaration */
  18.  
  19. class nsIDOMElement; /* forward declaration */
  20.  
  21.  
  22. /* starting interface:    nsIXTFXMLVisual */
  23. #define NS_IXTFXMLVISUAL_IID_STR "e63d240d-bd00-4857-ba65-2f9cc599eead"
  24.  
  25. #define NS_IXTFXMLVISUAL_IID \
  26.   {0xe63d240d, 0xbd00, 0x4857, \
  27.     { 0xba, 0x65, 0x2f, 0x9c, 0xc5, 0x99, 0xee, 0xad }}
  28.  
  29. class NS_NO_VTABLE nsIXTFXMLVisual : public nsIXTFVisual {
  30.  public: 
  31.  
  32.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXTFXMLVISUAL_IID)
  33.  
  34.   /* void onCreated (in nsIXTFXMLVisualWrapper wrapper); */
  35.   NS_IMETHOD OnCreated(nsIXTFXMLVisualWrapper *wrapper) = 0;
  36.  
  37. };
  38.  
  39. /* Use this macro when declaring classes that implement this interface. */
  40. #define NS_DECL_NSIXTFXMLVISUAL \
  41.   NS_IMETHOD OnCreated(nsIXTFXMLVisualWrapper *wrapper); 
  42.  
  43. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  44. #define NS_FORWARD_NSIXTFXMLVISUAL(_to) \
  45.   NS_IMETHOD OnCreated(nsIXTFXMLVisualWrapper *wrapper) { return _to OnCreated(wrapper); } 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  48. #define NS_FORWARD_SAFE_NSIXTFXMLVISUAL(_to) \
  49.   NS_IMETHOD OnCreated(nsIXTFXMLVisualWrapper *wrapper) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnCreated(wrapper); } 
  50.  
  51. #if 0
  52. /* Use the code below as a template for the implementation class for this interface. */
  53.  
  54. /* Header file */
  55. class nsXTFXMLVisual : public nsIXTFXMLVisual
  56. {
  57. public:
  58.   NS_DECL_ISUPPORTS
  59.   NS_DECL_NSIXTFXMLVISUAL
  60.  
  61.   nsXTFXMLVisual();
  62.  
  63. private:
  64.   ~nsXTFXMLVisual();
  65.  
  66. protected:
  67.   /* additional members */
  68. };
  69.  
  70. /* Implementation file */
  71. NS_IMPL_ISUPPORTS1(nsXTFXMLVisual, nsIXTFXMLVisual)
  72.  
  73. nsXTFXMLVisual::nsXTFXMLVisual()
  74. {
  75.   /* member initializers and constructor code */
  76. }
  77.  
  78. nsXTFXMLVisual::~nsXTFXMLVisual()
  79. {
  80.   /* destructor code */
  81. }
  82.  
  83. /* void onCreated (in nsIXTFXMLVisualWrapper wrapper); */
  84. NS_IMETHODIMP nsXTFXMLVisual::OnCreated(nsIXTFXMLVisualWrapper *wrapper)
  85. {
  86.     return NS_ERROR_NOT_IMPLEMENTED;
  87. }
  88.  
  89. /* End of implementation class template. */
  90. #endif
  91.  
  92.  
  93. #endif /* __gen_nsIXTFXMLVisual_h__ */
  94.